<template>
  <div>
    <child2 :list="list" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        { name: "李白" },
        {
          name: "王昭君",
          children: [
            { name: "小王", children: [{ name: "王中王" }] },
            { name: "大王" },
          ],
        },
        { name: "小鲁班" },
      ],
    };
  },
  methods: {},
  created() {},
  mounted() {},
  components: {},
  computed: {},
  watch: {},
};
</script>

<style lang="scss" scoped></style>
